package com.kangyi.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author Blank
 * @since 2025-02-15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "养老院入住数据传回格式")
public class NursingHomeApplicationDTO implements Serializable {
    @ApiModelProperty("养老院名称")
    private String nursingHomeName;
    @ApiModelProperty("机构id")
    private Integer organizationId;
    @ApiModelProperty("用户id")
    private Integer userId;
    @ApiModelProperty("负责人名称")
    private String director;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("养老院成立时间")
    private LocalDate establishmentTime;
    @ApiModelProperty("身份证")
    private String idCard;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("地址详情")
    private String addressDescription;
    @ApiModelProperty("营业执照图片")
    private String businessLicense;
    @ApiModelProperty("养老院成立许可证图片")
    private String establishmentLicense;
    @ApiModelProperty("消防验收合格证图片")
    private String fireSafetyCertificate;
    @ApiModelProperty("地产证明或租赁证明图片")
    private String realEstateCertificateOrLeaseCertificate;
    @ApiModelProperty("卫生许可证图片")
    private String hygienicLicense;
}
